package com.hrma.entity;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class Reward {
    private Integer id;
    @NotBlank(message = "员工编号不能为空！")
    private String num;
    @NotNull(message = "处罚金额不能为空！")
    private Integer money;
    private String reason;
    @NotNull(message = "处罚时间不能为空！")
    private Date time;
    private String auditor;
    private Integer state;
}
